package com.itheima.pinda.impl.user;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.pinda.DTO.entity.DGlobalUser;
import com.itheima.pinda.feign.service.DGlobalUserService;
import com.itheima.pinda.mapper.user.DGlobalUserMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 全局账号 服务实现类
 * </p>
 *
 * @author xy
 * @since 2021-11-15
 */
@Service
public class DGlobalUserServiceImpl extends ServiceImpl<DGlobalUserMapper, DGlobalUser> implements DGlobalUserService {

    @Override
    public List<DGlobalUser> findAll() {
        return super.baseMapper.selectList(null);
    }
}
